import {Store} from '../../enums/constant';
export default {
  /**
   * 注册
   * @param token
   * @param person
   * @param isLoginStatus
   * @returns
   */
  register: (
    token: String,
    person: {
      phone: String;
      passwordcode: String;
    },
    isLoginStatus: String,
  ) => ({
    type: Store.REGISTRE_STORE,
    token: token,
    person: person,
    isLogin: isLoginStatus,
  }),
  downloading: (isLoadingStatus: String) => ({
    type: Store.DOWNLOAD_STORE,
    isLoadingStatus: isLoadingStatus,
  }),
};
